package edu.wtbu.cs.bishe.domain;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

// 2. 更新用户实体类
@TableName(value ="tb_user")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Long id;
    private String email;
    private String password;
    private Boolean enabled;
    private String verificationCode;
    private LocalDateTime codeExpiryTime;
    private Integer codeAttempts;
}
